<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Compensation History</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
</head>
<body>
<%@ include file="Header.jsp"%>
		<table cellspacing="2" cellpadding="1" border="1" align="center" width="100%">
		<tr>
			<td width="300px" style="vertical-align: top"><%@ include file="Menu.jsp"%></td>
			<td>
	<table border="1" width="100%" height="113">
		<tr>
			<td>Employee_Id</td>
			<td>Name</td>
			<td>TotalHours<br>
			</td>
			<td>RemainingDays</td>
			<td>UnusedHours</td>
			<c:forEach var="record" items="${records}">
				<tr>
					<c:url var="recordUrl" value="gettherecord">
						<c:param name="employeeid" value="${record.employeename}"></c:param>
						<c:param name="type" value="${type}"></c:param>

					</c:url>
					<td><a href="${recordUrl }">${record.employeename } </a>
					</td>
					<td>${record.employeeid }</td>
					<td>${record.name }</td>
					<td>${record.TotalHours }</td>
					<td>${record.RemainingDays }</td>
					<td>${record.unusedhours}</td>
			</c:forEach>
	</table>
</td>
	</tr></table>
</body>
</html>